package com.th.supcom.pds.internal.api;

import java.util.List;

import com.th.supcom.pds.domain.vo.PdsPackageInfoVO;

/**
 * 供药分装维护接口服务
 */
public interface PdsSupplyPackageService
{
    /**
     * 公司版权信息.
     */
    public static final String copyright = "Copyright 2014, Carefx Corporation";

    /**
     * 提交路径.
     */
    public static final String SCC_BRANCH = "$URL$";

    /**
     * 提交日期.
     */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /**
     * 最终修改人员.
     */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /**
     * 最终版本号.
     */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * 根据药品名称插叙记录数
     * 
     * @param name
     * @return add by Zli
     */
    public int findPdsPackageInfoVOCountByName (String name);

    /**
     * 通过药品名称查询药品包装信息
     * 
     * @param rowBounds
     * @param name
     * @return
     * 
     */
    public List <PdsPackageInfoVO> findPdsPackageInfoVOWithPageByName (int offset, int limit, String name);

    /**
     * 批量插入数据
     * 
     * @param list add by Zli
     */
    public void addPdsPackageInfo (PdsPackageInfoVO vo);

    /**
     * 批量删除数据
     * 
     * @param serialNoList
     * @return add by Zli
     */
    public void removePdsPackageInfoByList (List <Long> serialNoList);

    /**
     * 更新包装信息
     * 
     * @param phamPropertyTable
     * @return add by Zli
     */
    public void modifyPdsPackageInfoByExample (PdsPackageInfoVO pdsPackageInfoVO);

}
